package com.dkm.dkmproject.domain;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 提现记录表
 * </p>
 *
 * @author 周佳佳
 * @since 2020-04-26
 */
@TableName("record_tb")
public class RecordTb extends Model<RecordTb> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	@TableId(value="re_id", type= IdType.AUTO)
	private Integer reId;
    /**
     * 用户id
     */
	@TableField("user_id")
	private Integer userId;
    /**
     * 提现金额
     */
	@TableField("re_money")
	private BigDecimal reMoney;
    /**
     * 提现时间
     */
	@TableField("re_date")
	private Date reDate;

	private String userName;

	private String userPhone;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPhone() {
		return userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	public Integer getReId() {
		return reId;
	}

	public void setReId(Integer reId) {
		this.reId = reId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public BigDecimal getReMoney() {
		return reMoney;
	}

	public void setReMoney(BigDecimal reMoney) {
		this.reMoney = reMoney;
	}

	public Date getReDate() {
		return reDate;
	}

	public void setReDate(Date reDate) {
		this.reDate = reDate;
	}

	@Override
	protected Serializable pkVal() {
		return this.reId;
	}

	@Override
	public String toString() {
		return "RecordTb{" +
			"reId=" + reId +
			", userId=" + userId +
			", reMoney=" + reMoney +
			", reDate=" + reDate +
			"}";
	}
}
